package golf.stockdata.framework.dataobject;

import java.io.Serializable;
import java.util.ArrayList;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "route")
public class Route implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 6856975932232742302L;

	private String name;

	private ArrayList<Filter> filters = new ArrayList<Filter>();

	@XmlAttribute(name="name")
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	@XmlElement(name = "filter")
	public ArrayList<Filter> getFilters() {
		return filters;
	}
	public void setFilters(ArrayList<Filter> filters) {
		this.filters = filters;
	}
	
}
